<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<script language="javascript">

function enableButtons()
{
document.form1.address2.disabled=false;
}

</script>
	<title>WhatItDo Billboards</title>
	</head>
	<body bgcolor="#7587ad">

	<h:form>
		<h4>Select the billboard you want to work with, or create a new
		billboard.</h4>
		<h:selectOneListbox size="5" value="#{editBillboard.loadAction}"
			style="width:400px; height: 150px">
			<f:selectItems value="#{chooseBillboard.nameItems}" />
		</h:selectOneListbox>
		<br>
		<h:commandButton value = "Edit" action="edit"/>
		<h:commandButton value = "Delete" action="#{editBillboard.deleteBillboardAction}"/>
		<h:commandButton value = "New" action="#{chooseBillboard.createBillboardAction}"/>

	</h:form>
	<a href="showBillboard.faces" target="_blank">View the currently published billboard here...</a>
	</body>
</f:view>
</html>